-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: jsonforms image upload renderer #272
feat: jsonforms image upload renderer #272
Conversation
…dified schema adding "format":"image" to relevant fields
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…-create-image-upload-custom-renderer
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
…e-image-upload-custom-renderer
…h BE, but need to fix CSP(or rewrite dataurl2blob) and suspense, loading&error msg
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
…wise cache user image and display if mutation succeeds)
…e-image-upload-custom-renderer
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
...ures/editing-experience/components/form-builder/renderers/controls/JsonFormsImageControl.tsx
Outdated
Show resolved
Hide resolved
apps/studio/src/features/editing-experience/components/form-builder/renderers/controls/utils.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. please start working on the presign-upload flow so this feature works fully.
apps/studio/src/features/editing-experience/components/form-builder/renderers/controls/utils.ts
Outdated
Show resolved
Hide resolved
Also realise the image is not previewed on the right side yet. Unsure if it should be in this PR or the next. you decide. just ensure it's not dropped. |
…blob<=>dataurl conversion helper functions) since out of scope for this pr
…image so it shows in the preview
Problem
Closes ISOM-1216
Made changes to the CSP to allow blob: for images, any security implications from this?
Breaking Changes
Before & After Screenshots
AFTER: